#!/bin/bash

export DESTIPMI="--dest=com.hp.m11y.IPMI"
export DESTRAS="--dest=com.hp.m11y.RAS"

export IINFO=com.hp.m11y.IPMI.Info
export ILOGS=com.hp.m11y.IPMI.Logs
export ISENSOR=com.hp.m11y.IPMI.Sensor
export IRAS=com.hp.m11y.RAS
export METHOD="--system --type=method_call --print-reply"
export SIGNAL="--system --type=signal"
export OBJIPMI="/com/hp/m11y/IPMI"
export OBJFPL="$OBJIPMI/FPL"
export OBJSEL="$OBJIPMI/SEL"
export OBJSENSOR="$OBJIPMI/Sensor"
export OBJRAS="/com/hp/m11y/RAS"

METHODIPMI="dbus-send $METHOD $DESTIPMI"
METHODRAS="dbus-send $METHOD $DESTRAS"

SIGNAL2IPMI="dbus-send $SIGNAL $DESTIPMI"

dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.DBus / org.freedesktop.DBus.ListNames 


